package com.jungbo.board.dto;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;
/*
 SEQ NUMBER NOT NULL, 
	REF NUMBER, 
	STEP NUMBER, 
	DEPTH NUMBER, 
	PARENT NUMBER, 
	DEL NUMBER, 
	ID VARCHAR2(20 BYTE), 
	PASSWORD VARCHAR2(20 BYTE), 
	TITLE VARCHAR2(200 BYTE), 
	CONTENT VARCHAR2(400 BYTE), 
	MDATE DATE, 
 */
public class BoardRepDto implements Serializable {
	private int seq;
	private int ref;
	private int step;
	private int depth;
	private int parent;
	private int del;
	private String id;
	private String password;
	private String title;
	private String content;
	private Timestamp mdate;
	
	public BoardRepDto() {
		
	}
	public BoardRepDto(int seq, int ref, int step, int depth, int parent,
			int del, String id, String password, String title, String content) {
		this.seq = seq;
		this.ref = ref;
		this.step = step;
		this.depth = depth;
		this.parent = parent;
		this.del = del;
		this.id = id;
		this.password = password;
		this.title = title;
		this.content = content;
	}
	public int getSeq() {
		return seq;
	}
	public void setSeq(int seq) {
		this.seq = seq;
	}
	public int getRef() {
		return ref;
	}
	public void setRef(int ref) {
		this.ref = ref;
	}
	public int getStep() {
		return step;
	}
	public void setStep(int step) {
		this.step = step;
	}
	public int getDepth() {
		return depth;
	}
	public void setDepth(int depth) {
		this.depth = depth;
	}
	public int getParent() {
		return parent;
	}
	public void setParent(int parent) {
		this.parent = parent;
	}
	public int getDel() {
		return del;
	}
	public void setDel(int del) {
		this.del = del;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public Timestamp getMdate() {
		return mdate;
	}
	public void setMdate(Timestamp mdate) {
		this.mdate = mdate;
	}
	@Override
	public String toString() {
		StringBuffer sb=new StringBuffer();
		sb.append("[")
		.append(this.id+"/")
		.append(this.title+"/")
		.append(this.content+"]");
		return sb.toString();
	}//
}//
